<?php

class Form_Store_Add extends Form
{
	public function init()
	{
		$this -> addChild('text', 'name', array('label' => 'tên'));

		$this -> addChild('text', 'address', array('label' => 'địa chỉ'));
		
		$this -> addChild('text', 'website', array('label' => 'website'));
		
		$this -> addChild('text', 'phone', array('label' => 'phone'));
		
		$this -> addChild('text', 'fax', array('label' => 'fax'));
		
		$this -> addChild('text', 'tel', array('label' => 'tel'));
		
		$this -> addChild('group', '_button');
		
		$this -> _button -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');
	}

}
